Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Rewrite get_fock_space_basis #361

Merged
merged 1 commit into from
Oct 16, 2024
Merged

perf: Rewrite get_fock_space_basis #361

merged 1 commit into from
Oct 16, 2024

Conversation

Kolarovszki
Copy link
Collaborator

The logic for the function get_fock_space_basis got rewritten to reuse allocated memory and calculate array sizes in advance. For this, some functions in fock.py got JITted. Moreover, the utility function cutoff_cardinality got renamed to cutoff_fock_space_dim being a more fitting name. Moreover, powerset got deleted from the production code, since it is not used anymore.

The logic for the function `get_fock_space_basis` got rewritten to reuse
allocated memory and calculate array sizes in advance. For this, some functions
in `fock.py` got JITted. Moreover, the utility function `cutoff_cardinality`
got renamed to `cutoff_fock_space_dim` being a more fitting name. Moreover,
`powerset` got deleted from the production code, since it is not used anymore.
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.78%. Comparing base (1c327de) to head (c4abd71).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #361   +/-   ##
=======================================
  Coverage   97.78%   97.78%           
=======================================
  Files          72       72           
  Lines        3842     3842           
=======================================
  Hits         3757     3757           
  Misses         85       85           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Kolarovszki Kolarovszki merged commit 8d9036a into main Oct 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant